import React, { PureComponent,Fragment } from 'react';

class Son1 extends PureComponent {
  constructor() {
    super();
    this.state = {
      
    }
  }
  render() {
    console.log('我执行了...');
    return (
      <Fragment>
        <p>父传子：{this.props.num}</p>
      </Fragment>
    );
  }
}

export default Son1;
